package com.example.feifei.net;


import com.example.feifei.newproject.MyApplication;
import com.example.feifei.utils.ToastUtil;

import rx.Subscriber;

/**
 * Created by Administrator on 2018\6\29 0029.
 */

public class CallBackSubscriber<T> extends Subscriber<T>{


    @Override
    public void onCompleted() {

    }

    @Override
    public void onError(Throwable e) {
        ToastUtil.showMessage(MyApplication.context,"请求接口错误");
    }

    @Override
    public void onNext(T t) {

    }

}
